<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>Bibliotheque: Référence de la classe BdPluginRegistry</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Généré par Doxygen 1.5.5 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="main.html"><span>Page&nbsp;principale</span></a></li>
      <li class="current"><a href="classes.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Fichiers</span></a></li>
    <li>
      <form action="search.php" method="get">
        <table cellspacing="0" cellpadding="0" border="0">
          <tr>
            <td><label>&nbsp;Rechercher&nbsp;</label></td>
            <td><input type="text" name="query" value="" size="20" accesskey="s"/></td>
          </tr>
        </table>
      </form>
    </li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="classes.html"><span>Liste&nbsp;alphabétique</span></a></li>
      <li><a href="annotated.html"><span>Liste&nbsp;des&nbsp;classes</span></a></li>
      <li><a href="functions.html"><span>Membres&nbsp;de&nbsp;classe</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>Référence de la classe BdPluginRegistry</h1><!-- doxytag: class="BdPluginRegistry" -->Class qui sert de registre pour les plugins.  
<a href="#_details">Plus de détails...</a>
<p>
<code>#include &lt;<a class="el" href="BdPluginRegistry_8h-source.html">BdPluginRegistry.h</a>&gt;</code>
<p>

<p>
<a href="classBdPluginRegistry-members.html">Liste de tous les membres</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Fonctions membres publiques</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBdPluginRegistry.html#84c8e706731f798b707f490a92c2e0af">addPlugin</a> (QString nom, QString library, <a class="el" href="classBdPlugin.html">BdPlugin</a> *plugin)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">pour ajouter un plugin dans le registre  <a href="#84c8e706731f798b707f490a92c2e0af"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBdPluginRegistry.html#bea0f7f8758b9e7b4f42caac83f4e4ca">removePlugin</a> (QString nom)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Pour enlever le plugin de ce nom.  <a href="#bea0f7f8758b9e7b4f42caac83f4e4ca"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classBdPlugin.html">BdPlugin</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBdPluginRegistry.html#3bdcc0963e8a09dfa53b9e55c410b4b7">plugin</a> (QString nom)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Renvoi le plugin de ce nom.  <a href="#3bdcc0963e8a09dfa53b9e55c410b4b7"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">QString&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBdPluginRegistry.html#5e24458fb4aff3a8f181ca7f55fd0435">path</a> (QString pluginKey)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Renvoie la path du plugin.  <a href="#5e24458fb4aff3a8f181ca7f55fd0435"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Fonctions membres publiques statiques</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="classBdPluginRegistry.html">BdPluginRegistry</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBdPluginRegistry.html#ad063f408e0ea54e5e389c26fc3b947d">instance</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Methode pour acceder aux fonctionnalité de la classe.  <a href="#ad063f408e0ea54e5e389c26fc3b947d"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Fonctions membres privées</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBdPluginRegistry.html#743a440280ac8b8d4874929f2e38e7e6">BdPluginRegistry</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructeur.  <a href="#743a440280ac8b8d4874929f2e38e7e6"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Attributs privés</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">QMap&lt; QString, <a class="el" href="classBdPluginMetadata.html">BdPluginMetadata</a> * &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBdPluginRegistry.html#0382faf01e44d71b58b69f4b783c6018">plugins</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Map qui stocke le plugin enregistrr.  <a href="#0382faf01e44d71b58b69f4b783c6018"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Attributs privés statiques</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="classBdPluginRegistry.html">BdPluginRegistry</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBdPluginRegistry.html#2bc5b2aa8a94a6cee3b0f09c8ce3ec13">mInstance</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Protection pour creer qu'un seul et unique registre.  <a href="#2bc5b2aa8a94a6cee3b0f09c8ce3ec13"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Description détaillée</h2>
Class qui sert de registre pour les plugins. 
<p>
<dl class="author" compact><dt><b>Auteur:</b></dt><dd>beltegeuse </dd></dl>
<hr><h2>Documentation des constructeurs et destructeur</h2>
<a class="anchor" name="743a440280ac8b8d4874929f2e38e7e6"></a><!-- doxytag: member="BdPluginRegistry::BdPluginRegistry" ref="743a440280ac8b8d4874929f2e38e7e6" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">BdPluginRegistry::BdPluginRegistry           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Constructeur. 
<p>

</div>
</div><p>
<hr><h2>Documentation des fonctions membres</h2>
<a class="anchor" name="ad063f408e0ea54e5e389c26fc3b947d"></a><!-- doxytag: member="BdPluginRegistry::instance" ref="ad063f408e0ea54e5e389c26fc3b947d" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classBdPluginRegistry.html">BdPluginRegistry</a>* BdPluginRegistry::instance           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Methode pour acceder aux fonctionnalité de la classe. 
<p>
<dl class="return" compact><dt><b>Renvoie:</b></dt><dd>index des plugins </dd></dl>

</div>
</div><p>
<a class="anchor" name="84c8e706731f798b707f490a92c2e0af"></a><!-- doxytag: member="BdPluginRegistry::addPlugin" ref="84c8e706731f798b707f490a92c2e0af" args="(QString nom, QString library, BdPlugin *plugin)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void BdPluginRegistry::addPlugin           </td>
          <td>(</td>
          <td class="paramtype">QString&nbsp;</td>
          <td class="paramname"> <em>nom</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">QString&nbsp;</td>
          <td class="paramname"> <em>library</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classBdPlugin.html">BdPlugin</a> *&nbsp;</td>
          <td class="paramname"> <em>plugin</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
pour ajouter un plugin dans le registre 
<p>
<dl compact><dt><b>Paramètres:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>nom</em>&nbsp;</td><td>nom du plugin </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>library</em>&nbsp;</td><td>chemin du plugin </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>plugin</em>&nbsp;</td><td></td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="bea0f7f8758b9e7b4f42caac83f4e4ca"></a><!-- doxytag: member="BdPluginRegistry::removePlugin" ref="bea0f7f8758b9e7b4f42caac83f4e4ca" args="(QString nom)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void BdPluginRegistry::removePlugin           </td>
          <td>(</td>
          <td class="paramtype">QString&nbsp;</td>
          <td class="paramname"> <em>nom</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Pour enlever le plugin de ce nom. 
<p>
<dl compact><dt><b>Paramètres:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>nom</em>&nbsp;</td><td>nom du plugin a enlever </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="3bdcc0963e8a09dfa53b9e55c410b4b7"></a><!-- doxytag: member="BdPluginRegistry::plugin" ref="3bdcc0963e8a09dfa53b9e55c410b4b7" args="(QString nom)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classBdPlugin.html">BdPlugin</a>* BdPluginRegistry::plugin           </td>
          <td>(</td>
          <td class="paramtype">QString&nbsp;</td>
          <td class="paramname"> <em>nom</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Renvoi le plugin de ce nom. 
<p>
<dl compact><dt><b>Paramètres:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>nom</em>&nbsp;</td><td>nom du plugin a renvoyer </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Renvoie:</b></dt><dd>adresse memoire de ce plugin </dd></dl>

</div>
</div><p>
<a class="anchor" name="5e24458fb4aff3a8f181ca7f55fd0435"></a><!-- doxytag: member="BdPluginRegistry::path" ref="5e24458fb4aff3a8f181ca7f55fd0435" args="(QString pluginKey)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QString BdPluginRegistry::path           </td>
          <td>(</td>
          <td class="paramtype">QString&nbsp;</td>
          <td class="paramname"> <em>pluginKey</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Renvoie la path du plugin. 
<p>
<dl compact><dt><b>Paramètres:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>pluginKey</em>&nbsp;</td><td></td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Renvoie:</b></dt><dd>path </dd></dl>

</div>
</div><p>
<hr><h2>Documentation des données membres</h2>
<a class="anchor" name="2bc5b2aa8a94a6cee3b0f09c8ce3ec13"></a><!-- doxytag: member="BdPluginRegistry::mInstance" ref="2bc5b2aa8a94a6cee3b0f09c8ce3ec13" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classBdPluginRegistry.html">BdPluginRegistry</a>* <a class="el" href="classBdPluginRegistry.html#2bc5b2aa8a94a6cee3b0f09c8ce3ec13">BdPluginRegistry::mInstance</a><code> [static, private]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Protection pour creer qu'un seul et unique registre. 
<p>

</div>
</div><p>
<a class="anchor" name="0382faf01e44d71b58b69f4b783c6018"></a><!-- doxytag: member="BdPluginRegistry::plugins" ref="0382faf01e44d71b58b69f4b783c6018" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QMap&lt;QString,<a class="el" href="classBdPluginMetadata.html">BdPluginMetadata</a>*&gt; <a class="el" href="classBdPluginRegistry.html#0382faf01e44d71b58b69f4b783c6018">BdPluginRegistry::plugins</a><code> [private]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Map qui stocke le plugin enregistrr. 
<p>

</div>
</div><p>
<hr>La documentation de cette classe a été générée à partir du fichier suivant :<ul>
<li><a class="el" href="BdPluginRegistry_8h-source.html">BdPluginRegistry.h</a></ul>
</div>
<hr size="1"><address style="text-align: right;"><small>Généré le Thu Jul 3 00:22:20 2008 pour Bibliotheque par&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
</body>
</html>
